package com.wondersgroup.fjzlpt.org.controller.rest.zy;

import java.util.Map;

import javax.servlet.http.HttpServletRequest;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import com.alibaba.fastjson.JSONArray;
import com.quick.framework.boot.web.utils.RequestUtils;
import com.wondersgroup.fjzlpt.org.service.inter.zy.ZyService;

@RestController
@RequestMapping("zy")
public class ZyRestController {

	@Autowired
	private ZyService zyService;
	
	/**
	 * 分页查询
	 * @param request
	 * @return
	 */
	@RequestMapping("/queryTable")
	public JSONArray queryTable(HttpServletRequest request)
	{
		Map<String, String> map = RequestUtils.GetParameterMap(request);
		return zyService.queryTable(map);
	}
	
}



























